<?php
namespace app\common\validate;
use think\Validate;
class Client extends Validate{
    protected $rule =   [
        // 'getdate' => 'require',
        // 'name' => 'require',
        // 'product' => 'require',
        // 'cartypeid2' => 'require',
        // 'phone' => 'require',
    ];

    protected $message  =   [
        'getdate.require' => '请选择获取时间',
        'name.require' => '客户姓名不能为空',
        'product.require' => '意向产品不能为空',
        'cartypeid2.require' => '意向产品不能为空',
        'phone.require' => '客户联系方式不能为空',
    ];

}